﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;

namespace intelliSys.NankaiUtilities.EventSynchronizer
{
    public class SyncOptions : INotifyPropertyChanged
    {
        public SyncOptions()
        {
            Availability = "busy";
            Visibility = "public";
            DurationInMinutes = 15;
        }

        public List<string> AlreadySynchronized = new List<string>();

        public string Availability { get; set; }

        public string Visibility { get; set; }

        public IEnumerable<ILiveEventSource> SelectedEventSources { get; set; }

        public IEnumerable<LiveEvent> SelectedEvents { get; set; }

        public event PropertyChangedEventHandler PropertyChanged;

        private void NotifyChange(string propertyName)
        {
            if (PropertyChanged != null)
            {
                PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
            }
        }
        private int minutes;
        public int NotificationBeforeMinutes
        {
            get
            {
                return minutes;
            }
            set
            {
                minutes = value;
            }
        }

        public LiveCalendar SelectedLiveCalendar
        {
            get;
            set;
        }

        public int DurationInMinutes
        {
            get;
            set;
        }

        public int GMT
        {
            get;
            set;
        }


    }
}
